package com.shsh.safemanage.model;

public class ManageGroup {
	private Long id;
	private Long depart1ID;
	private String manageGroupName;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getManageGroupName() {
		return manageGroupName;
	}

	public void setManageGroupName(String manageGroupName) {
		this.manageGroupName = manageGroupName;
	}
	
	public Long getDepart1ID() {
		return depart1ID;
	}

	public void setDepart1ID(Long depart1id) {
		depart1ID = depart1id;
	}

	public int hashCode() {
		return this.id.intValue();
	}
	
	public boolean equals(Object o) {
		if (!(o instanceof ManageGroup)) {
			return false;
		}
		
		ManageGroup theManageGroup = (ManageGroup) o;
		if (theManageGroup.getId().equals(this.getId()) && theManageGroup.getDepart1ID().equals(this.getDepart1ID())) {
			return true;
		}
		
		return false;
	}
}
